package org.cl.tdd;

import java.util.Comparator;

public class SmartComparator implements Comparator<ParkingPlace> {
    public int compare(ParkingPlace o1, ParkingPlace o2) {
        return o2.getEmptyPlaceNum() - o1.getEmptyPlaceNum();
    }
}
